@use "sass:math";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    vertical-align: top;
}

li {
    list-style: none;
    // overflow: hidden;
}

a {
    text-decoration: none;
}

.clear:after {
    content: "";
    display: block;
    clear: both;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}

.site-nav {
    z-index: 10000;
    width: 100%;
    background: #f5f5f5;
    border-bottom: 1px solid #eee;
    height: 36px;
    .site-nav-bd {
        // width: 990px
        width: 1190px;
        height: 35px;
        margin: 0 auto;
        .site-nav-bd-1 {
            // overflow: hidden;
            float: left;
            .menu {
                float: left;
                padding: 0 6px;
                line-height: 35px;
                a:nth-child(1) {
                    margin-right: 7px;
                    font-size: 12px;
                    color: #f22e00;
                }
                a:nth-child(2) {
                    margin-right: 7px;
                    font-size: 12px;
                    color: #6C6C6C;
                }
            }
            .menu-mobile {
                a {
                    font-size: 12px;
                    margin-right: 7px;
                    color: #6c6c6c;
                }
                float: left;
                line-height: 35px;
                padding-left: 20px;
            }
        }
        .site-nav-bd-2 {
            position: relative;
            float: right;
            .menu-home {
                height: 35px;
                float: left;
            }
            .menu-hd {
                float: left;
                margin-right: 7px;
                font-size: 12px;
                line-height: 35px;
                a {
                    color: #f22e00;
                }
            }
            .menu-my-taobao {
                float: left;
                position: relative;
                // height: 35px;
                .menu-taobao {
                    margin-left: 10px;
                    float: left;
                    font-size: 12px;
                    a {
                        color: #6C6C6C;
                        line-height: 35px;
                    }
                    span {
                        font-size: 1px;
                        color: #6C6C6C;
                    }
                }
                .menu-bd-panel {
                    width: 100px;
                    position: absolute;
                    left: 0;
                    top: 35px;
                    display: none;
                    line-height: normal;
                    border: 1px solid #EEE;
                    background: #FFF;
                    text-align: center;
                    padding: 2px;
                    a {
                        font-size: 12px;
                        padding: 0 5px;
                        line-height: 28px;
                        white-space: nowrap;
                        color: #6C6C6C;
                    }
                }
                &:hover {
                    background-color: #FFF;
                    .menu-bd-panel {
                        display: block;
                    }
                }
            }
            li {
                float: left;
                margin-right: 7px;
                font-size: 12px;
                color: #6C6C6C;
                line-height: 35px;
                a {
                    color: #6C6C6C;
                }
                span {
                    font-size: 1px;
                    color: #6C6C6C;
                }
            }
            .menu-sc {
                &:hover {
                    background-color: #FFF;
                    .menu-bd-panel {
                        display: block;
                    }
                }
                position: relative;
                .menu-bd-panel {
                    width: 70px;
                    position: absolute;
                    left: 0;
                    top: 35px;
                    display: none;
                    line-height: normal;
                    border: 1px solid #EEE;
                    background: #FFF;
                    text-align: center;
                    a {
                        font-size: 12px;
                        padding: 0 5px;
                        line-height: 28px;
                        white-space: nowrap;
                        color: #6C6C6C;
                    }
                }
            }
            .menu-m {
                &:hover {
                    background-color: #FFF;
                    .menu-bd-panel {
                        display: block;
                    }
                }
                position: relative;
                .menu-bd-panel {
                    width: 70px;
                    position: absolute;
                    left: -5px;
                    top: 35px;
                    display: none;
                    line-height: normal;
                    border: 1px solid #EEE;
                    background: #FFF;
                    text-align: center;
                    a {
                        font-size: 12px;
                        padding: 0 5px;
                        line-height: 28px;
                        white-space: nowrap;
                        color: #6C6C6C;
                    }
                }
            }
            .menu-l {
                &:hover {
                    background-color: #FFF;
                    .menu-bd-panel {
                        display: block;
                    }
                }
                position: relative;
                .menu-bd-panel {
                    width: 70px;
                    position: absolute;
                    left: 0;
                    top: 35px;
                    display: none;
                    line-height: normal;
                    border: 1px solid #EEE;
                    background: #FFF;
                    text-align: center;
                    a {
                        font-size: 12px;
                        padding: 0 5px;
                        line-height: 28px;
                        white-space: nowrap;
                        color: #6C6C6C;
                    }
                }
            }
        }
    }
}

.cont {
    margin-top: 20px;
    width: 100%;
    .header {
        width: 1190px;
        margin: 0 auto;
        .log {
            float: left;
            width: 162px;
            height: 64px;
            a {
                color: orangered;
            }
        }
        .log-input {
            float: right;
            .ipt {
                // width: 445px;
                height: 64px;
                // border: solid #ff0036;
                border-width: 3px 3px 3px 3px;
                // width: 305px;
                height: 30px;
                line-height: 64px;
                margin-right: 30px;
                input {
                    height: 30px;
                    font-size: 12px;
                    width: 367px!important;
                    padding: 5px 3px 5px 5px;
                    border: 2px solid orangered;
                    font-weight: 900;
                    border-radius: 5px;
                    font-family: tahoma, arial, "\5b8b\4f53";
                }
                button {
                    width: 80px;
                    height: 30px;
                    background-color: #ff0036;
                    border: none;
                    color: white;
                }
            }
        }
    }
}

.shangpin {
    .spcontent {
        width: 1190px;
        margin: 20px auto;
        .leftcommodity {
            .wrapAll .left {
                width: 400px;
                float: left;
            }
            .wrapAll .left .showGoods {
                width: 400px;
                height: 400px;
                position: relative;
                /* display: none; */
            }
            .wrapAll .left .shadow {
                width: 200px;
                height: 200px;
                background-color: rgba(0, 0, 0, 0.5);
                position: absolute;
                left: 0;
                top: 0;
                cursor: all-scroll;
                display: none;
            }
            .wrapAll .left img {
                width: 100%;
                height: 100%;
            }
            .wrapAll .left .showList {
                width: 100%;
                display: flex;
                margin-top: 10px;
            }
            .wrapAll .left .showList li {
                flex: 1;
                border: 2px solid transparent;
            }
            .wrapAll .left .showList li+li {
                margin-left: 10px;
            }
            .wrapAll .left .showList .active {
                border-color: pink;
            }
            .wrapAll .right {
                width: -webkit-calc(100% - 400px - 20px);
                min-height: 500px;
                float: right;
                /* background-color: pink; */
                position: relative;
                // display: none;
            }
            .scaleGoods {
                position: absolute;
                width: 500px;
                height: 500px;
                background-color: rgba(125, 255, 255, 0.5);
                overflow: hidden;
                display: none;
            }
            .scaleGoods img {
                width: 1000px;
                height: 1000px;
                position: absolute;
                left: 0;
                top: 0;
                /* z-index: -1; */
            }
        }
        .rightcommodity {
            float: left;
            width: 590px;
            padding: 0 20px;
            .goodsName {
                width: 100%;
                padding: 10px 0px;
                line-height: 28px;
                font-weight: 700;
                font-size: 16px;
                color: #666;
                >span {
                    color: #fff;
                    background: #f00;
                    padding: 2px;
                    border-radius: 2px;
                    margin-right: 4px;
                }
            }
            .goodsPrice {
                width: 100%;
                min-height: 100px;
                background: #EFEFEF;
                padding: 6px 0px 6px 60px;
                font-size: 12px;
                position: relative;
                >span:nth-of-type(1) {
                    top: 10px;
                    left: 10px;
                    position: absolute;
                    color: #999;
                }
                >span:nth-of-type(2) {
                    bottom: 10px;
                    left: 10px;
                    position: absolute;
                    color: #999;
                }
                .pj {
                    color: #999;
                    text-align: center;
                    padding: 0px 10px;
                    position: absolute;
                    right: 5px;
                    border-left: 1px solid #CECECE;
                }
                .jiage {
                    margin-left: 10px;
                    color: #e4393c;
                    font-weight: 700;
                    font-size: 22px;
                    a {
                        font-size: 12px;
                        text-decoration: none;
                        font-weight: 500;
                        color: #999;
                        margin-left: 20px;
                    }
                }
                .huangou {
                    position: absolute;
                    bottom: 10px;
                    // padding: 0 20px;
                    a {
                        margin-left: 20px;
                    }
                }
            }
            .dizhi {
                width: 100%;
                min-height: 50px;
                border-bottom: 1px solid #ddd;
                display: flex;
                align-items: center;
                select {
                    border: 2px solid #e4393c;
                    color: #999;
                    margin-left: 20px;
                }
            }
            .kkk {
                width: 100%;
                padding: 10px;
                display: flex;
                .down {
                    border: none;
                    width: 50px;
                    height: 50px;
                    color: #EFEFEF;
                    font-size: 20px;
                    font-weight: 700;
                    background: #e4393c;
                    text-align: center;
                    line-height: 50px;
                    cursor: pointer;
                }
                .inputs {
                    width: 70px;
                    height: 50px;
                    border: none;
                    text-align: center;
                    border-top: 1px solid #e4393c;
                    border-bottom: 1px solid #e4393c;
                }
                .add {
                    border: none;
                    width: 50px;
                    height: 50px;
                    color: #EFEFEF;
                    font-size: 20px;
                    font-weight: 700;
                    background: #e4393c;
                    text-align: center;
                    line-height: 50px;
                    cursor: pointer;
                }
                .addToCart {
                    height: 50px;
                    padding: 0px 20px;
                    margin-left: 20px;
                    cursor: pointer;
                    text-align: center;
                    line-height: 50px;
                    font-size: 20px;
                    font-weight: 700;
                    background: #e4393c;
                    color: #fff;
                }
            }
        }
    }
}